package com.glsc.ngateway.common.base.repo.mysql.gateway.oaflow;

import com.glsc.ngateway.common.base.domain.mysql.gateway.oaflow.TOaFlowAppendTable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;


@Repository
public interface TOaFlowAppendTableRepository extends JpaRepository<TOaFlowAppendTable, Long> {


    @Query(value = "select appendixPath from TOaFlowAppendTable m where m.appendixId = :appendixId")
    String getAppendixPathById(String appendixId);

}
